﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CarErp.Model
{
    public class User
    {
        public User() { }
        public User(string name, string password, Role role)
        {
            Name = name;
            Password = password;
            Role = role;
        }

		public int Id { get; set; }
		public string Name { get; set; } = string.Empty;
		public string Password { get; set; } = string.Empty;
		public Role Role { get; set; }
    }

    public enum Role
    {
        Submitter,
        Approver
    }
}
